package sum_of_points;

public class List
{
    String name;
    int points;
    List next;
    List plus(int n)
    {
        List a = new List();
        a = next;
        for(int i=0;(i<n-1)&&(a.next!=null);i++)  a=a.next;
        return a;
    }
}